/*    */ package system.staros.sblock1;
/*    */ 
/*    */ import java.util.List;
/*    */ 
/*    */ public class BlockNode extends Node
/*    */ {
/*    */   private List<Node> statements;
/*    */ 
/*    */   public BlockNode(SourcePosition paramSourcePosition, List<Node> paramList)
/*    */   {
/* 37 */     super(paramSourcePosition);
/* 38 */     this.statements = paramList;
/*    */   }
/*    */ 
/*    */   public Node get(int paramInt) {
/* 42 */     return (Node)this.statements.get(paramInt);
/*    */   }
/*    */ 
/*    */   protected List<Node> getStatements() {
/* 46 */     return this.statements;
/*    */   }
/*    */ 
/*    */   public ZemObject eval(Interpreter paramInterpreter)
/*    */   {
/* 51 */     ZemObject localZemObject = null;
/* 52 */     for (Node localNode : this.statements) {
/* 53 */       localZemObject = localNode.eval(paramInterpreter);
/*    */     }
/* 55 */     return localZemObject;
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 60 */     StringBuilder localStringBuilder = new StringBuilder();
/* 61 */     localStringBuilder.append('(');
/* 62 */     for (Node localNode : this.statements) {
/* 63 */       localStringBuilder.append(localNode.toString());
/*    */     }
/* 65 */     localStringBuilder.append(')');
/* 66 */     return localStringBuilder.toString();
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.BlockNode
 * JD-Core Version:    0.6.1
 */